package com.huike.report.mapper;

import com.huike.report.dto.BusinessChangeStatisticsDTO;
import com.huike.report.dto.BusinessChangeStatisticsSQLDTO;
import com.huike.report.result.ReportSalesOwnerShipStatisticsListData;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ReportMapper {
    List<BusinessChangeStatisticsSQLDTO> getDate(BusinessChangeStatisticsDTO businessChangeStatisticsDTO);

    List<BusinessChangeStatisticsSQLDTO> getSalesStatisticDate(BusinessChangeStatisticsDTO businessChangeStatisticsDTO);

    /**
     * 根绝条件查询营业额
     * @param map
     * @return
     */
//    Double sumMoney(Map map);

//    /**
//     * 获取归属人集合
//     * @return
//     */
//    List<String> findCreateBy();
//
//    /**
//     * 获取归属人的营业额数据
//     * @param createBy
//     * @return
//     */
//    List<ReportSalesOwnerShipStatisticsListData> statisticsByPeople(String createBy);
}
